placessidebar: fix ellipsizing glitch
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 28 Jul 2015 10:08:03 +0000 (07:08 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 28 Jul 2015 10:08:03 +0000 (07:08 -0300)
The places sidebar rows' labels were missing a proper
xalign, which caused the labels to keep shaking while
the sidebar was resized.

Fix that by setting the label's xalign to 0.

gtk/ui/gtksidebarrow.ui

index 291e4f082ed60a9e2b3bb9baa132c60137a16e5c..8f6f3073bb5856fe551e78dd6b2535ad243b82b7 100644 (file)
@@ -33,6 +33,8 @@
                 <child>
                   <object class="GtkLabel" id="label_widget">
                     <property name="visible">True</property>
+                    <property name="hexpand">True</property>
+                    <property name="xalign">0</property>
                     <style>
                       <class name="sidebar-label"/>
                     </style>
@@ -45,8 +47,7 @@
                 <child>
                   <object class="GtkButton" id="eject_button">
                     <property name="visible">True</property>
-                    <property name="hexpand">True</property>
-                    <property name="halign">end</property>
+                    <property name="halign">center</property>
                     <property name="valign">center</property>
                     <property name="margin-start">4px</property>
                     <property name="no-show-all">True</property>